<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>
        <%= htmlWebpackPlugin.options.title %>
    </title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script type="text/javascript">
        <%= compilation.assets[htmlWebpackPlugin.files.chunks.a.entry.substr(htmlWebpackPlugin.files.publicPath.length)].source() %>
    </script>
</head>

<body>
    <!-- 这是一段注释 -->
    <% for(key in htmlWebpackPlugin.files.chunks) { %>
        <% if(key !== 'a') { %>
            <script type="text/javascript" src='<%= htmlWebpackPlugin.files.chunks[key].entry %>'></script>
        <% } %>
    <% } %>
</body>

</html>